package com.mbc.rmt.entities;

import java.io.Serializable;

import com.mbc.common.param.CriteriaRMParams;

@SuppressWarnings("serial")
public class Agent extends CriteriaRMParams implements Serializable{
	
	private long agent_id;
	private String agent_code;
	private String name;
	private String myanmarname;
	private String nrc;
	private String address;
	private String phone;
	private String fax;
	private String emailaddress;
	private Long account_set_id;
	//private String account_set_id;
	private long type_id;
	private String accountset_code;
	private String type_code;
	private boolean isdefault;
	private int savingstatus;
	private long branch_id;
	private long currencyid;
	private String ratecode;
	private double currentbalance;
	private Long waitingaccount_set_id;
	private Long sentaccount_set_id;
	private Long officeaccount_set_id;
	private String waitingaccount_set_code;
	private String sentaccount_set_code;
	private String officeaccount_set_code;
	private String hostatus;
	
	private long ho_branchid;
	private long userid;
	
	public Agent(){
		clearProperties();
	}

	private void clearProperties() {
		
		agent_id = 0;
		account_set_id=null;
		setAccountset_id(null);
		/*setWaitingaccount_set_id(null);
		setOfficeaccount_set_id(null);
		setSentaccount_set_id(null);*/
		//account_set_id = null;
		type_id = 0;
		agent_code = "";
		name = "";
		myanmarname = "";
		nrc = "";
		address = "";
		phone = "";
		fax = "";
		emailaddress = "";
		accountset_code = "";
		type_code = "";
		isdefault = false;
		branch_id = 0;
		currencyid = 0;
		ratecode = "";
		currentbalance = 0;
		setSavingstatus(0);
		waitingaccount_set_id = null;
		officeaccount_set_id = null;
		sentaccount_set_id = null;
		waitingaccount_set_code = "";
		officeaccount_set_code = "";
		sentaccount_set_code = "";
		setHostatus("");
		
		setHo_branchid(0);
		userid = 0;
	}

	public Long getWaitingaccount_set_id() {
		return waitingaccount_set_id;
	}

	public void setWaitingaccount_set_id(Long waitingaccount_set_id) {
		this.waitingaccount_set_id = waitingaccount_set_id;
	}

	public Long getSentaccount_set_id() {
		return sentaccount_set_id;
	}

	public void setSentaccount_set_id(Long sentaccount_set_id) {
		this.sentaccount_set_id = sentaccount_set_id;
	}

	public Long getOfficeaccount_set_id() {
		return officeaccount_set_id;
	}

	public void setOfficeaccount_set_id(Long officeaccount_set_id) {
		this.officeaccount_set_id = officeaccount_set_id;
	}

	public long getBranch_id() {
		return branch_id;
	}

	public void setBranch_id(long branch_id) {
		this.branch_id = branch_id;
	}

	public long getAgent_id() {
		return agent_id;
	}

	public void setAgent_id(long agent_id) {
		this.agent_id = agent_id;
	}

	public String getAgent_code() {
		return agent_code;
	}

	public void setAgent_code(String agent_code) {
		this.agent_code = agent_code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMyanmarname() {
		return myanmarname;
	}

	public void setMyanmarname(String myanmarname) {
		this.myanmarname = myanmarname;
	}

	public String getNrc() {
		return nrc;
	}

	public void setNrc(String nrc) {
		this.nrc = nrc;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmailaddress() {
		return emailaddress;
	}

	public void setEmailaddress(String emailaddress) {
		this.emailaddress = emailaddress;
	}

	public Long getAccountset_id() {
		return account_set_id;
	}

	public void setAccountset_id(Long account_set_id) {
		this.account_set_id = account_set_id;
	}
	

	public long getType_id() {
		return type_id;
	}

	/*public String getAccount_set_id() {
		return account_set_id;
	}

	public void setAccount_set_id(String account_set_id) {
		this.account_set_id = account_set_id;
	}*/

	public void setType_id(long type_id) {
		this.type_id = type_id;
	}

	public String getAccountset_code() {
		return accountset_code;
	}

	public void setAccountset_code(String accountset_code) {
		this.accountset_code = accountset_code;
	}

	public String getType_code() {
		return type_code;
	}

	public void setType_code(String type_code) {
		this.type_code = type_code;
	}

	public boolean isIsdefault() {
		return isdefault;
	}

	public void setIsdefault(boolean isdefault) {
		this.isdefault = isdefault;
	}

	public long getCurrencyid() {
		return currencyid;
	}

	public void setCurrencyid(long currencyid) {
		this.currencyid = currencyid;
	}

	public double getCurrentbalance() {
		return currentbalance;
	}

	public void setCurrentbalance(double currentbalance) {
		this.currentbalance = currentbalance;
	}

	public String getRatecode() {
		return ratecode;
	}

	public void setRatecode(String ratecode) {
		this.ratecode = ratecode;
	}

	public int getSavingstatus() {
		return savingstatus;
	}

	public void setSavingstatus(int savingstatus) {
		this.savingstatus = savingstatus;
	}

	public String getSentaccount_set_code() {
		return sentaccount_set_code;
	}

	public void setSentaccount_set_code(String sentaccount_set_code) {
		this.sentaccount_set_code = sentaccount_set_code;
	}

	public String getWaitingaccount_set_code() {
		return waitingaccount_set_code;
	}

	public void setWaitingaccount_set_code(String waitingaccount_set_code) {
		this.waitingaccount_set_code = waitingaccount_set_code;
	}

	public String getOfficeaccount_set_code() {
		return officeaccount_set_code;
	}

	public void setOfficeaccount_set_code(String officeaccount_set_code) {
		this.officeaccount_set_code = officeaccount_set_code;
	}

	public String getHostatus() {
		return hostatus;
	}

	public void setHostatus(String hostatus) {
		this.hostatus = hostatus;
	}

	public long getHo_branchid() {
		return ho_branchid;
	}

	public void setHo_branchid(long ho_branchid) {
		this.ho_branchid = ho_branchid;
	}

	public long getUserid() {
		return userid;
	}

	public void setUserid(long userid) {
		this.userid = userid;
	}

}
